package com.sgcc.pda.greendao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

/**
 * 错误信息实体类.
 *
 * @author 王沛栋
 * @data 2018/1/12 15:49
 */

@Entity
public class ExceptionInfo {
    /**
     * 自动增长键
     * 不能用int  只能用Long
     */
    @Id(autoincrement = true)
    @Property(nameInDb = "id")
    private Long id;

    @Property(nameInDb = "dev_info")
    private String dev_info;
    @Property(nameInDb = "os_version")
    private String os_version;
    @Property(nameInDb = "app_version")
    private String app_version;
    @Property(nameInDb = "userid")
    private String userid;
    @Property(nameInDb = "ctime")
    private String ctime;
    @Property(nameInDb = "detail")
    private String detail;
    @Property(nameInDb = "status")
    private String status;
    @Property(nameInDb = "etype")
    private String etype;
    @Property(nameInDb = "data")
    private String data;


    @Generated(hash = 2004662488)
    public ExceptionInfo(Long id, String dev_info, String os_version,
                         String app_version, String userid, String ctime, String detail,
                         String status, String etype, String data) {
        this.id = id;
        this.dev_info = dev_info;
        this.os_version = os_version;
        this.app_version = app_version;
        this.userid = userid;
        this.ctime = ctime;
        this.detail = detail;
        this.status = status;
        this.etype = etype;
        this.data = data;
    }

    @Generated(hash = 841014831)
    public ExceptionInfo() {
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDev_info() {
        return dev_info;
    }

    public void setDev_info(String dev_info) {
        this.dev_info = dev_info;
    }

    public String getOs_version() {
        return os_version;
    }

    public void setOs_version(String os_version) {
        this.os_version = os_version;
    }

    public String getApp_version() {
        return app_version;
    }

    public void setApp_version(String app_version) {
        this.app_version = app_version;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEtype() {
        return etype;
    }

    public void setEtype(String etype) {
        this.etype = etype;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }


}
